home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5590 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 6c 61 6e 67 2e 63 2b | 2b 0a 50 61 74 68 3a 20 |.lang.c+|+.Path: |
|00000020| 6e 65 77 73 2e 6e 65 72 | 2e 62 62 6e 70 6c 61 6e |news.ner|.bbnplan|
|00000030| 65 74 2e 6e 65 74 21 61 | 72 63 6f 21 75 73 65 6e |et.net!a|rco!usen|
|00000040| 65 74 0a 46 72 6f 6d 3a | 20 42 72 69 61 6e 20 4c |et.From:| Brian L|
|00000050| 65 61 63 68 20 3c 6c 61 | 73 62 66 6c 3e 0a 53 75 |each <la|sbfl>.Su|
|00000060| 62 6a 65 63 74 3a 20 52 | 65 3a 20 67 65 6e 65 72 |bject: R|e: gener|
|00000070| 69 63 20 70 61 72 61 6d | 74 65 72 20 74 6f 20 74 |ic param|ter to t|
|00000080| 65 6d 70 6c 61 74 65 20 | 71 75 65 73 74 69 6f 6e |emplate |question|
|00000090| 0a 58 2d 4e 6e 74 70 2d | 50 6f 73 74 69 6e 67 2d |.X-Nntp-|Posting-|
|000000a0| 48 6f 73 74 3a 20 31 33 | 36 2e 32 32 36 2e 31 31 |Host: 13|6.226.11|
|000000b0| 36 2e 31 0a 43 6f 6e 74 | 65 6e 74 2d 54 79 70 65 |6.1.Cont|ent-Type|
|000000c0| 3a 20 74 65 78 74 2f 70 | 6c 61 69 6e 3b 20 63 68 |: text/p|lain; ch|
|000000d0| 61 72 73 65 74 3d 75 73 | 2d 61 73 63 69 69 0a 4d |arset=us|-ascii.M|
|000000e0| 65 73 73 61 67 65 2d 49 | 44 3a 20 3c 44 4d 42 45 |essage-I|D: <DMBE|
|000000f0| 41 37 2e 49 44 36 40 6e | 65 77 73 2e 61 72 63 6f |A7.ID6@n|ews.arco|
|00000100| 2e 63 6f 6d 3e 0a 54 6f | 3a 20 6e 61 62 62 61 73 |.com>.To|: nabbas|
|00000110| 69 40 71 75 61 6c 63 6f | 6d 6d 2e 63 6f 6d 0a 53 |i@qualco|mm.com.S|
|00000120| 65 6e 64 65 72 3a 20 75 | 73 65 6e 65 74 40 6e 65 |ender: u|senet@ne|
|00000130| 77 73 2e 61 72 63 6f 2e | 63 6f 6d 0a 43 6f 6e 74 |ws.arco.|com.Cont|
|00000140| 65 6e 74 2d 54 72 61 6e | 73 66 65 72 2d 45 6e 63 |ent-Tran|sfer-Enc|
|00000150| 6f 64 69 6e 67 3a 20 37 | 62 69 74 0a 4f 72 67 61 |oding: 7|bit.Orga|
|00000160| 6e 69 7a 61 74 69 6f 6e | 3a 20 41 52 43 4f 20 4f |nization|: ARCO O|
|00000170| 69 6c 20 25 20 47 61 73 | 20 43 6f 6d 70 61 6e 79 |il % Gas| Company|
|00000180| 0a 52 65 66 65 72 65 6e | 63 65 73 3a 20 3c 34 65 |.Referen|ces: <4e|
|00000190| 75 6d 65 69 24 6a 38 32 | 40 71 75 61 6c 63 6f 6d |umei$j82|@qualcom|
|000001a0| 6d 2e 63 6f 6d 3e 0a 4d | 69 6d 65 2d 56 65 72 73 |m.com>.M|ime-Vers|
|000001b0| 69 6f 6e 3a 20 31 2e 30 | 0a 44 61 74 65 3a 20 4d |ion: 1.0|.Date: M|
|000001c0| 6f 6e 2c 20 35 20 46 65 | 62 20 31 39 39 36 20 31 |on, 5 Fe|b 1996 1|
|000001d0| 38 3a 30 36 3a 30 37 20 | 47 4d 54 0a 58 2d 4d 61 |8:06:07 |GMT.X-Ma|
|000001e0| 69 6c 65 72 3a 20 4d 6f | 7a 69 6c 6c 61 20 31 2e |iler: Mo|zilla 1.|
|000001f0| 31 32 20 28 58 31 31 3b | 20 49 3b 20 48 50 2d 55 |12 (X11;| I; HP-U|
|00000200| 58 20 41 2e 30 39 2e 30 | 35 20 39 30 30 30 2f 37 |X A.09.0|5 9000/7|
|00000210| 35 35 29 0a 58 2d 55 72 | 6c 3a 20 6e 65 77 73 3a |55).X-Ur|l: news:|
|00000220| 34 65 75 6d 65 69 24 6a | 38 32 40 71 75 61 6c 63 |4eumei$j|82@qualc|
|00000230| 6f 6d 6d 2e 63 6f 6d 0a | 0a 6e 61 62 62 61 73 69 |omm.com.|.nabbasi|
|00000240| 40 71 75 61 6c 63 6f 6d | 6d 2e 63 6f 6d 20 28 4e |@qualcom|m.com (N|
|00000250| 61 73 73 65 72 20 41 62 | 62 61 73 69 29 20 77 72 |asser Ab|basi) wr|
|00000260| 6f 74 65 3a 0a 3e 68 69 | 2c 0a 3e 0a 3e 48 6f 77 |ote:.>hi|,.>.>How|
|00000270| 20 63 61 6e 20 6f 6e 65 | 20 67 69 76 65 20 61 20 | can one| give a |
|00000280| 74 65 6d 70 6c 61 74 65 | 20 61 20 70 61 72 61 6d |template| a param|
|00000290| 65 74 65 72 20 74 68 61 | 74 20 69 73 20 61 20 76 |eter tha|t is a v|
|000002a0| 61 6c 75 65 20 6f 66 20 | 67 65 6e 65 72 69 63 20 |alue of |generic |
|000002b0| 74 79 70 65 3f 0a 3e 0a | 3e 41 20 74 65 6d 70 6c |type?.>.|>A templ|
|000002c0| 61 74 65 20 63 61 6e 20 | 74 61 6b 65 20 61 73 20 |ate can |take as |
|000002d0| 70 61 72 61 6d 74 65 72 | 20 61 73 20 61 20 74 79 |paramter| as a ty|
|000002e0| 70 65 2c 20 61 6e 64 20 | 61 6c 73 6f 20 69 74 20 |pe, and |also it |
|000002f0| 63 61 6e 20 74 61 6b 65 | 20 61 20 0a 3e 70 61 72 |can take| a .>par|
|00000300| 61 6d 65 74 65 72 20 74 | 68 61 74 20 69 73 20 61 |ameter t|hat is a|
|00000310| 20 76 61 72 69 61 62 6c | 65 20 6f 66 20 6b 6e 6f | variabl|e of kno|
|00000320| 77 6e 20 74 79 70 65 20 | 61 73 20 69 6e 3a 0a 3e |wn type |as in:.>|
|00000330| 0a 3e 74 65 6d 70 6c 61 | 74 65 3c 63 6c 61 73 73 |.>templa|te<class|
|00000340| 20 54 2c 69 6e 74 20 69 | 74 65 6d 3e 20 63 6c 61 | T,int i|tem> cla|
|00000350| 73 73 20 66 6f 6f 7b 2e | 2e 7d 0a 3e 0a 3e 62 75 |ss foo{.|.}.>.>bu|
|00000360| 74 20 69 6e 20 74 68 65 | 20 61 62 6f 76 65 20 74 |t in the| above t|
|00000370| 68 65 20 74 79 70 65 20 | 6f 66 20 22 69 74 65 6d |he type |of "item|
|00000380| 22 20 69 73 20 6e 6f 74 | 20 67 65 6e 65 72 69 63 |" is not| generic|
|00000390| 2e 20 69 73 20 74 68 65 | 72 65 20 61 20 77 61 79 |. is the|re a way|
|000003a0| 20 0a 3e 74 6f 20 70 61 | 73 73 20 22 69 74 65 6d | .>to pa|ss "item|
|000003b0| 22 20 61 62 6f 76 65 20 | 62 75 74 20 6c 65 74 20 |" above |but let |
|000003c0| 74 68 65 20 75 73 65 72 | 20 68 61 76 65 20 69 74 |the user| have it|
|000003d0| 73 20 74 79 70 65 20 61 | 73 20 67 65 6e 65 72 69 |s type a|s generi|
|000003e0| 63 20 61 6c 73 6f 20 28 | 61 73 20 0a 3e 77 69 74 |c also (|as .>wit|
|000003f0| 68 20 54 29 20 3f 20 0a | 3e 0a 3e 74 68 61 6e 6b |h T) ? .|>.>thank|
|00000400| 73 0a 3e 4e 61 73 73 65 | 72 0a 3e 0a 0a 59 6f 75 |s.>Nasse|r.>..You|
|00000410| 20 61 72 65 20 61 6c 6c | 6f 77 65 64 20 61 6e 79 | are all|owed any|
|00000420| 20 6e 75 6d 62 65 72 20 | 6f 66 20 70 61 72 61 6d | number |of param|
|00000430| 65 74 65 72 73 20 6f 66 | 20 75 6e 6b 6e 6f 77 6e |eters of| unknown|
|00000440| 20 74 79 70 65 2c 69 65 | 3a 0a 74 65 6d 70 6c 61 | type,ie|:.templa|
|00000450| 74 65 3c 63 6c 61 73 73 | 20 54 2c 20 63 6c 61 73 |te<class| T, clas|
|00000460| 73 20 55 2c 20 63 6c 61 | 73 73 20 56 3e 20 63 6c |s U, cla|ss V> cl|
|00000470| 61 73 73 20 66 6f 6f 64 | 20 7b 2e 2e 2e 7d 0a 2d |ass food| {...}.-|
|00000480| 42 72 69 61 6e 20 3a 2d | 29 0a 0a |Brian :-|).. |
+--------+-------------------------+-------------------------+--------+--------+